package com.mldong.modules.cms.dto;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import javax.validation.constraints.*;
import com.mldong.validation.Groups;
/**
 * <p>
 * 站点
 * </p>
 *
 * @author mldong
 * @since 2022-10-23
 */
@Getter
@Setter
@TableName("cms_site")
@ApiModel(value = "SiteParam对象", description = "站点")
public class SiteParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键", required = true)
    @TableId(value = "id", type = IdType.AUTO)
    @NotNull(message = "主键不能为空", groups = {Groups.Update.class})
    private Long id;

    @ApiModelProperty(value = "站点名称", required = true)
    @NotBlank(message = "站点名称不能为空")
    private String siteName;

    @ApiModelProperty(value = "站点关键字")
    private String siteKeywords;

    @ApiModelProperty(value = "站点描述")
    private String siteDesc;

    @ApiModelProperty(value = "站点logo")
    private String siteLogo;

    @ApiModelProperty(value = "绑定域名")
    private String domain;


}
